package protocol.packet.message;

import lombok.Data;
import protocol.Command;
import protocol.packet.Packet;

@Data
public class MessageRequest extends Packet {
    private String toUserId;
    private String msg;
    @Override
    public Byte getCommand() {
        return Command.MESSAGE_REQUEST;
    }
    public MessageRequest(String toUserId, String msg) {
        this.toUserId = toUserId;
        this.msg = msg;
    }
}
